package com.softer.wxzj.service.impl;

import com.softer.wxzj.entity.SysResource;
import com.softer.wxzj.mapper.HomeMapper;
import com.softer.wxzj.service.HomeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/**
 * HomeServiceImpl class
 * @author zcz
 * @date 2019/1/16
 */
@Service
public class HomeServiceImpl implements HomeService {

    @Autowired
    private HomeMapper homeMapper;

    @Override
    public List<SysResource> getMenu(String userName) {
        return homeMapper.getMenu(userName);
    }
}
